package com.woniu.new_orange.mapper;

import com.woniu.new_orange.entity.Role;

import java.util.List;

/**
* @author donghang
* @description 针对表【role(角色;学院表)】的数据库操作Mapper
* @createDate 2023-01-14 09:33:49
* @Entity com.woniu.new_orange.entity.Role
*/
public interface RoleMapper {
    //  董航  2023/2/2 16:14  查询所有角色
    List<Role> selAllRole();

    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

}
